<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>安装</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="java.requirements.html">需求</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="java.configuration.html">运行时配置</a></div>
 <div class="up"><a href="java.setup.html">安装／配置</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="java.installation" class="section">
 <h2 class="title">安装</h2>
 <p class="para">
  此扩展被认为已无人维护及已消亡。然而，此扩展的源代码还可在
<acronym title="PHP Extension and Application Repository">PECL</acronym>
<acronym>SVN</acronym> 找到：
  <a href="http://svn.php.net/viewvc/pecl/java" class="link external">&raquo;&nbsp;http://svn.php.net/viewvc/pecl/java</a>.
 </p>
 <p class="para">
  此扩展已被移至
<a href="http://pecl.php.net/" class="link external">&raquo;&nbsp;PECL</a> 资源库且不再与 PHP 捆绑。5.0.0
 </p>
 <blockquote class="note"><p><strong class="note">Note</strong>: 
  <strong>PHP 4 specific notes</strong><br />
  <p class="para">
   在 PHP 4 中，此 <acronym title="PHP Extension and Application Repository">PECL</acronym> 扩展源代码可在 PHP 源代码的
<var class="filename">ext/</var>
目录下或上面的 <acronym title="PHP Extension and Application Repository">PECL</acronym>链接中找到。
   In order to use these functions you must compile PHP with Java support by 
   using the <strong class="option configure">--with-java[=DIR]</strong>
 where DIR 
   points to the base install directory of your JDK.  This extension can only
   be built as a shared extension.  Additional build instructions can be found
   in <var class="filename">php-src/ext/java/README</var>.
  </p>
  <p class="para">
   Windows users will enable <var class="filename">php_java.dll</var> inside
   of <var class="filename">php.ini</var> in order to use these functions.
   在 PHP 4 中，此 <acronym title="Dynamic Link Library">DLL</acronym> 位于 PHP Windows 二进制下载中的
<var class="filename">extensions/</var> 目录。
  </p>
  <p class="para">
   In order to enable this module on a Windows environment with PHP &lt;= 
   4.0.6, you must make <var class="filename">jvm.dll</var> available to your 
   systems PATH.  No additional DLL is needed for PHP versions &gt; 4.0.6.
  </p>
 </p></blockquote>
</div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="java.requirements.html">需求</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="java.configuration.html">运行时配置</a></div>
 <div class="up"><a href="java.setup.html">安装／配置</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>
